<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<style type="text/css">

	</style>

<table class="lesson_time">
    <!-- <thead>
        <tr>
            <th>一</th>
            <th>二</th>
            <th>三</th>
            <th>四</th>
            <th>五</th>
            <th>六</th>
            <th>日</th>
        </tr>
    </thead> -->
    <tbody id="uMw">
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 1 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?> 
        <?php } ?>
        </tr>
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 2 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr>
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 3 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr>
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 4 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr>
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 5 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr>
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 6 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr>   
        <tr>
        <?php foreach ($yue_arr as $v) { ?>
            <?php if (date('w',strtotime($v['date'])) == 0 ) { ?> 
            <td><?php echo $v['date'] ?> </td>
            <?php } ?>
        <?php } ?>
        </tr> 
        </tbody>
</table>
</body>
</html>